home *** CD-ROM | disk | FTP | other *** search
/ Champak 125 / Vol 125 (Damaged).iso / games / orbox.swf / scripts / DefineSprite_310 / frame_1 / DoAction.as
Encoding:
Text File  |  2008-11-13  |  311 b   |  27 lines

  1. if(_root.lv == 26)
  2. {
  3.    gotoAndStop(5);
  4. }
  5. lv = "Level " + _root.lv;
  6. if(lv > 25 or Key.isDown(32))
  7. {
  8.    _visible = 0;
  9. }
  10. if(_root._xscale < 0)
  11. {
  12.    _xscale = -100;
  13. }
  14. if(_root._yscale < 0)
  15. {
  16.    _yscale = -100;
  17. }
  18. ii++;
  19. if(ii < 11)
  20. {
  21.    _Y = ii * 7;
  22. }
  23. else if(ii > 33)
  24. {
  25.    _Y = _Y - 15;
  26. }
  27.